//
//  ViewController.swift
//  TExtUI
//
//  Created by dream1024 on 2018/4/20.
//  Copyright © 2018年 dream1024. All rights reserved.
//

import UIKit

class ViewController: UIViewController {
  var collectionView: UICollectionView!
  override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.
    
    let flaw = UICollectionViewFlowLayout()
    
    
    
    var y: CGFloat = -64
//    if phoneType == .ten {
//      y = -88
//    }
//    collectionView = UICollectionView(frame: CGRect(x: 0, y: y, width: screenWidth, height: screenHeight - y), collectionViewLayout: flaw)
    collectionView.frame.origin.y = y
    view.addSubview(collectionView)
//    collectionView.emptyDataSetDelegate = self
//    collectionView.emptyDataSetSource = self
//    collectionView.backgroundColor = UIColor.sysBackWhite
//    collectionView.register(CreatCompleteTopView.self, forCellWithReuseIdentifier: top)
//    collectionView.register(NormalTextCell.self, forCellWithReuseIdentifier: bottomCell)
//    collectionView.delegate = self
//    collectionView.dataSource = self
  }
  override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
  }


}

